package com.example.wuqiu.config.webSocket;

import lombok.Data;
import org.springframework.web.socket.TextMessage;

@Data
public class MessageTask {
    private String userId;
    private TextMessage message;

    public MessageTask(String userId, TextMessage message) {
        this.userId = userId;
        this.message = message;
    }
}
